﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.libSTO
{
    [DataContract]
    public class RegionIDsSTO
    {
        private string _errorMessage;
        private int _layerID;
        private byte[]  _compressedRegionIDList;

        public RegionIDsSTO()
        {
            _layerID = -1;
            _errorMessage = "";
        }

        [DataMember]
        public string errorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }

        [DataMember]
        public int layerID
        {
            get { return _layerID; }
            set { _layerID = value; }
        }

        [DataMember]
        public byte[] compressedRegionIDList
        {
            get { return _compressedRegionIDList; }
            set { _compressedRegionIDList = value; }
        }
    }
}
